package com.chrray.position.pojo.request.web;


import com.chrray.position.pojo.dto.util.BaseAllDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import oracle.sql.DATE;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class IndexDto extends BaseAllDto {
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty(value = "开始时间", example = "2018-10-10")
    private LocalDate startTime;
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty(value = "结束时间", example = "2020-10-10")
    private LocalDate endTime;
}
